#ifndef MSG_H
#define MSG_H

#include <QObject>
#include <QMessageBox>

class Msg : public QObject
{
public:
    Msg();
    static int info(QString txt);
    static int info(QString txt,QString informativeText);
    static int info(QString title,QString txt,QString informativeText);
    static int ask(QString txt);
    static int ask(QString txt,QString informativeText);
    static int ask(QString title,QString txt,QString informativeText);
    static int warn(QString txt);
    static int warn(QString txt,QString informativeText);
    static int warn(QString title,QString txt,QString informativeText);
    static int err(QString txt);
    static int err(QString txt,QString informativeText);
    static int err(QString title,QString txt,QString informativeText);
    static int msg(QMessageBox::Icon icon,QString title,QString txt,QString informativeTxt,QMessageBox::StandardButtons buttons);
};

#endif // MSG_H
